package com.fas.system.domain;

import com.fas.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 消防主机对象 fas_fire_engine
 */
@ApiModel(value = "消防主机对象")
public class FasFireEngine implements Serializable {

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private Integer id                    ;//主键

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String deviceCode       ;//设备编号

    @ApiModelProperty(value = "子节点")
    @Excel(name = "子节点")
    private String childNode        ;//子节点

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private Integer status            ;//状态

    @ApiModelProperty(value = "位置")
    @Excel(name = "位置")
    private String position          ;//位置

    @ApiModelProperty(value = "接入时间")
    @Excel(name = "接入时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date accessTime          ;//接入时间

    @ApiModelProperty(value = "所属单位")
    @Excel(name = "所属单位")
    private Long deptId            ;//所属单位

    @ApiModelProperty(value = "厂商名字")
    @Excel(name = "厂商名字")
    private String manufacturerName ;//厂商名字

    @ApiModelProperty(value = "设备型号（新）")
    @Excel(name = "设备型号")
    private String deviceModel      ;//设备型号（新）

    @ApiModelProperty(value = "经度")
    @Excel(name = "经度")
    private Double longitude          ;//经度

    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度")
    private Double latitude           ;//纬度

    private Integer cooperationCompanyId; //合作单位id
    private String markAddress; //标记位置
    @Excel(name = "通信协议")
    private String communicationProtocol;//通信协议
    @Excel(name = "品牌")
    private String brand;//品牌

    //非表字段
    private String companyName; //合作单位名称

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getChildNode() {
        return childNode;
    }

    public void setChildNode(String childNode) {
        this.childNode = childNode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getAccessTime() {
        return accessTime;
    }

    public void setAccessTime(Date accessTime) {
        this.accessTime = accessTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Integer getCooperationCompanyId() {
        return cooperationCompanyId;
    }

    public void setCooperationCompanyId(Integer cooperationCompanyId) {
        this.cooperationCompanyId = cooperationCompanyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getMarkAddress() {
        return markAddress;
    }

    public void setMarkAddress(String markAddress) {
        this.markAddress = markAddress;
    }

    public String getCommunicationProtocol() {
        return communicationProtocol;
    }

    public void setCommunicationProtocol(String communicationProtocol) {
        this.communicationProtocol = communicationProtocol;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }


}
